//cookie操作

//引入js-cookie
import Cookies from "js-cookie";

const key="token"

//设置cookie
export const set_Cookie=(val)=>{
    Cookies.set(key,val);
}

//获取cookie
export const get_Cookie=()=>{
   return Cookies.get(key);

}

//清除cookie
export const remove_Cookie=()=>{
    Cookies.remove(key)
}

